<%@page import="entity.M_user"%>
<%@page import="dao.impl.M_userDaoImpl"%>
<%@page import="dao.M_userDao"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%><%
	request.setCharacterEncoding("UTF-8");
	String s=request.getParameter("uname");
	String s1=request.getParameter("upwd");

	M_userDao m_userDao=new M_userDaoImpl();
	M_user m=m_userDao.find(s, s1);
	session.setAttribute("userInfo", m);
	if(m!=null){
	out.print(m.getM_username()+"."+m.getScore());}
	else{
	out.print("false");
	}
 %>

